← Back to issue list

fatal: detected dubious ownership in repository at '/root/project' when ran with --use-lxd

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1990298
Type
issue
State
open
Author
~saviq
Labels
craft-1574
Created
2022-09-20 16:38:03.734128+00:00
Updated
2023-01-20 14:13:15.354996+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Snapcraft 7.1.3 on Kinetic ``` mkdir foo cd foo snapcraft init sed -i 's/version:.*/version: git/' snap/snapcraft.yaml git init . snapcraft --use-lxd # ... LP#1990297 snapcraft --use-lxd # ... Determining the version from the project repo (version: git). fatal: detected dubious ownership in repository at '/root/project' To add an exception for this directory, call: git config --global --add safe.directory /root/project Run the same command again with --debug to shell into the environment if you wish to introspect this failure. ```

Evaluation history

No evaluation history available.